package cn.rkylin.oms.base.batch.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import cn.rkylin.core.IDataBaseFactory;
import cn.rkylin.oms.base.batch.dao.ISkuBatchDetailDAO;
import cn.rkylin.oms.base.batch.domain.SkuBatchDetail;
import cn.rkylin.oms.base.batch.vo.SkuBatchDetailVO;

/**
 * 类名: SkuBatchDetailDAOImpl <br/>
 * date: 2018年4月13日 上午10:07:53 <br/>
 *
 * @author zhanghao
 * @version 
 */
@Repository
public class SkuBatchDetailDAOImpl implements ISkuBatchDetailDAO {
    @Autowired
    protected IDataBaseFactory dao;

    private static final String STATEMENT_SELECT_BY_CONDITION = "selectSkuBatchListByCondition";

    @Override
    public int deleteByPrimaryKey(Long id) {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int insert(SkuBatchDetail record) {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int insertSelective(SkuBatchDetail record) {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public SkuBatchDetail selectByPrimaryKey(Long id) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(SkuBatchDetail record) {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int updateByPrimaryKey(SkuBatchDetail record) {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public List<SkuBatchDetailVO> selectSkuBatchDetailList(SkuBatchDetailVO skuBatchDetailVO) throws Exception {
        return dao.findAllList(STATEMENT_SELECT_BY_CONDITION, skuBatchDetailVO);
    }

}
